package com.sc.nft.dao;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.sc.nft.entity.KongKim;
import com.sc.nft.mapper.KongKimMapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public class KongKimDao extends ServiceImpl<KongKimMapper, KongKim> {


    public List<KongKim>list(){
        QueryWrapper<KongKim>queryWrapper=new QueryWrapper<>();
        queryWrapper.orderByAsc("sort");
        return list(queryWrapper);
    }
}
